#include<stdio.h>
#include<string.h>
void main(){
    char *line,*record;
    char  filename [] ="D:\\data\\8month.csv";
    FILE* fp = fopen(filename, "r");
    char buffer[1024];


    while((line=fgets(buffer,sizeof(buffer),fp))!=NULL){
        record=strtok(line,",");
        while(record!=NULL){
            printf("%s ",record);
            record=strtok(NULL,",");
        }
        printf("\n");
    }
    fclose(fp);
    fp=NULL;
}